
package com.novel.bean;
/**
 * @ClassName:	Book.java
 * @Description:	书籍类(对应数据库表book)
 * 
 * @author 作者：YF E-mail：
 * @version		V1.0
 * @Date 创建时间	2019年12月29日上午10:22:20
 *
 */
public class Book {
	private int id;//书籍id
	private String bookname;//书籍名字
	private String realesetime;//发布时间
	private String lastupdatetime;//最后一次更新时间
	private String type;//类型
	private int wordnumber;//字数 
	private int readnumber;//阅读次数
	private int allwordsnumber;//总字数
	private int collectionnumber;//被收藏的次数
	private String state;//状态
	private String bookintroduction;//书籍简介
	
	public Book() {
		super();
	}
	
	
	public Book(int id, String bookname,String realesetime, String lastupdatetime, String type, int wordnumber, int readnumber,
			int allwordsnumber, int collectionnumber, String state,String bookintroduction) {
		this.id = id;
		this.bookname=bookname;
		this.realesetime = realesetime;
		this.lastupdatetime = lastupdatetime;
		this.type = type;
		this.wordnumber = wordnumber;
		this.readnumber = readnumber;
		this.allwordsnumber = allwordsnumber;
		this.collectionnumber = collectionnumber;
		this.state = state;
		this.bookintroduction=bookintroduction;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getBookname() {
		return bookname;
	}


	public void setBookname(String bookname) {
		this.bookname = bookname;
	}


	public String getRealesetime() {
		return realesetime;
	}


	public void setRealesetime(String realesetime) {
		this.realesetime = realesetime;
	}


	public String getLastupdatetime() {
		return lastupdatetime;
	}


	public void setLastupdatetime(String lastupdatetime) {
		this.lastupdatetime = lastupdatetime;
	}


	public String getType() {
		return type;
	}


	public void setType(String type) {
		this.type = type;
	}


	public int getWordnumber() {
		return wordnumber;
	}


	public void setWordnumber(int wordnumber) {
		this.wordnumber = wordnumber;
	}


	public int getReadnumber() {
		return readnumber;
	}


	public void setReadnumber(int readnumber) {
		this.readnumber = readnumber;
	}


	public int getAllwordsnumber() {
		return allwordsnumber;
	}


	public void setAllwordsnumber(int allwordsnumber) {
		this.allwordsnumber = allwordsnumber;
	}


	public int getCollectionnumber() {
		return collectionnumber;
	}


	public void setCollectionnumber(int collectionnumber) {
		this.collectionnumber = collectionnumber;
	}


	public String getState() {
		return state;
	}


	public void setState(String state) {
		this.state = state;
	}


	public String getBookintroduction() {
		return bookintroduction;
	}


	public void setBookintroduction(String bookintroduction) {
		this.bookintroduction = bookintroduction;
	}


	@Override
	public String toString() {
		return "[id=" + id + ", bookname=" + bookname + ", realesetime=" + realesetime + ", lastupdatetime="
				+ lastupdatetime + ", type=" + type + ", wordnumber=" + wordnumber + ", readnumber=" + readnumber
				+ ", allwordsnumber=" + allwordsnumber + ", collectionnumber=" + collectionnumber + ", state=" + state
				+ ", bookintroduction=" + bookintroduction + "]";
	}


	


	
	
	
	
	
	
}
